<?php
function smarty_function_ddht_category_link($params, &$smarty)
{
	$intType	= isset($params['type']) ? $params['type'] : 0;	
	$intId		= isset($params['id']) ? $params['id'] : 0;
	$strName 	= isset($params['name']) ? $params['name'] : '';	
	return Ecore_Rewrite_Common::category($intType, $intId, $strName);
}
